#------------------------------------------------------------
# Evangelism Content Framework. PowerShell implementation
#------------------------------------------------------------

#This script registers the SnapIn
add-pssnapin ContentFrameworkSnapIn

write "Creating Zip file ..."
[string] $directory = [System.IO.Path]::GetFullPath($args[0])
[string] $zipName = [System.IO.Path]::GetFullPath($args[1])

if($args[2]) {
    [string] $excludeFile = [System.IO.Path]::GetFullPath($args[2])
}

Create-Zip $directory $zipName $excludeFile
